/* SmartCar - makingrobot.net
 * Copyright MakingRobot 2018
 * MIT License
 */
#ifndef ARDUINO_XP_VEHICLE_H_
#define ARDUINO_XP_VEHICLE_H_

#include "TwoWheelDriven.h"
#include "LedController.h"

class XPVehicle
{
   public:
     XPVehicle(const TwoWheelDriven& driven, const LedController ledCtrl)
        : driven_(driven), ledCtrl_(ledCtrl)
     {
     }
     
     virtual void setup();
     virtual void drive();

   protected:
     const TwoWheelDriven& driven_;
     const LedController& ledCtrl_;
    
};

#endif
